import { getData, postData } from '@/service/request';
/* 获取token */
export const getDept = (platform: number, params?: any) =>
  getData(`/system/dept/platform/${platform}`, params);
/* 注册 */
export const register = (params?: any) => postData(`/auth/register`, params);
